package test.study.nosql.json;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Accessors(chain = true)
@Data
public class TeachSubject implements Serializable {
    private Long teachId;
    private String subjectName;

    public static TeachSubject newTechSubject() {
        return new TeachSubject().setTeachId(90001L)
                .setSubjectName("数学");
    }
}
